1963b96e0a0620357c6302eea666745c785f4321,app/src/main/java/in/ureport/fragments/UserInfoBaseFragment.java,UserInfoBaseFragment,loadStatesForCountry,#CountryInfo#,389

Before Change


        Bundle bundle = new Bundle();
        bundle.putParcelable(EXTRA_COUNTRY_INFO, countryInfo);

        getLoaderManager().restartLoader(LOAD_STATES_ID, bundle, this).forceLoad();
    }

    private View.OnClickListener onBirthdayClickListener = new View.OnClickListener() {

After Change


        if(loader != null && ((LocationInfoLoader)loader).getCountryInfo().equals(countryInfo)) {
            getLoaderManager().initLoader(LOAD_STATES_ID, bundle, this);
        } else {
            getLoaderManager().restartLoader(LOAD_STATES_ID, bundle, this);
        }
    }